﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Krilib;
using Krilib.Data;

namespace Wassrile.Operation.DataClasses
{
    public sealed class WUser : User
    {
        const string ProfilePageUri = "http://wassr.jp/user/";
        const string ProfileImageUri = "http://wassr.jp/user/";
        const string ProfileImageFile = "/profile_img.png.128.9999999999999999999999999";

        /// <summary>
        /// this prop is read-only.
        /// </summary>
        public override string parentServiceId
        {
            get { return Define.ServiceId; }
            set { }
        }

        /// <summary>
        /// this prop is read-only.
        /// </summary>
        public override Uri iconUri
        {
            get { return new Uri(ProfileImageUri + this.id + ProfileImageFile); }
            set { }
        }

        /// <summary>
        /// this prop is read-only.
        /// </summary>
        public override Uri profileUri
        {
            get { return new Uri(ProfilePageUri + this.id); }
            set { }
        }

    }
}
